/**
 * Created by PhpStorm.
 * User: Xiaoya
 * Date: 2018-04-05
 * Time: 23:10
 */

/*
  定义色调
*/
$Acolor: #888;
$Titlecolor: #444;
$Textcolor: #888;


html {
  font: 400 12px/18px "Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
li, a {
  text-decoration: none;
  -moz-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  -ms-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

.wrapper {
  width: 1120px;
  padding: 80px 0 30px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.panelinfo {
  position: fixed;
  float: left;
  background: white;
  width: 200px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.02), 0 4px 10px rgba(0,0,0,.06);
  .avatar {
    width: 100px;
    margin: 0 auto;
    margin-top: 35px;
    img {
      width: 100px;
      border-radius: 50%;
      border: 1px solid #cecece;
    }
  }
}
.paneltitle {
  text-align: center;
  h3 {
    margin: 0;
  }
  span {
    color: $Titlecolor;
    padding-top: 7px;
    width: 50%;
    margin: 10px auto 0;
    display: inline-block;
    border-top: 1px solid $Titlecolor;
  }
}
.nav {
  margin-top: 20px;

  ul {
    >li {
      border-top: 1px solid #eee;
      text-align: center;
      position: relative;
      a {
        color: $Acolor;
        padding: 10px 0;
        display: block;
      }
      &:hover {
        background: #44cef6;
        a{
          color: white;
        }
        .dropdown-menu {
          display: block;
        }
      }
    }
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    right: -89px;
    top: -1px;
    background: white;
    box-shadow: 0 0 0 1px rgba(0,0,0,.02), 0 4px 10px rgba(0,0,0,.06);
    a {
      padding: 10px 20px;
      display: block;
      color: $Textcolor!important;
    }
    li {
      &:hover{
        a{
          color: white!important;
        }
      }
    }

  }
}
.content {
  float: right;
  width: 870px;
  border-radius: 5px;
}
.conten_body {
  padding: 10px 20px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.02), 0 4px 10px rgba(0,0,0,.06);
}
.conten_body {
  float: left;
  width: 600px;
  background: white;
  h4 {
    color: $Acolor;
    padding: 10px 15px 15px 0;
    margin: 0;
    border-bottom: 1px solid #EEE;
    font-size: 16px;
    font-weight: 100;
  }
  h1{
    border-bottom: 1px solid #EEE;
    a{
      color: $Acolor;
      &:hover {
        color: #44cef6;
      }
    }
  }
  .list {
    article{
      &:first-child {
        padding-top: 0;
      }
      padding: 30px 0;
      border-bottom: 1px dashed #ccc;
    }
    h1{
      font-weight: 400;
    }
    .des {
      color: $Textcolor;
    }
    .img {
      img {
        width: 100%;
      }
    }
  }
}
.sidebar {
  float: right;
  width: 200px;
  >ul {
    >li {
      background: #fff;
      margin-bottom: 20px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 0 0 1px rgba(0,0,0,.02), 0 4px 10px rgba(0,0,0,.06);
      h4 {
        color: $Acolor;
        padding: 15px 15px 5px;
        margin: 0;
        border-bottom: 1px solid #EEE;
        font-size: 16px;
        font-weight: 100;
      }
      li {
        border-top: 1px solid rgba(0,0,0,.08);
        a {
          color: $Acolor;
          padding: 10px 15px;
          display: block;
        }
        &:hover {
          background: #44cef6;
          a {
            color: white;
          }
        }
      }
    }
  }
  .post_tags {
    padding: 10px 0;
    a{
      display: inline-block;
      padding: 5px 10px;
      color: rgba(0,0,0,.5);
      &:hover {
        color: #44cef6;
      }
    }
  }
}
.article {
  h1 {
    font-weight: 400;
  }
}
.breadcrumb {
  li {
    color: rgba(0,0,0,.5);
    font-size: 13px;
  }
}